package Basic;

import java.util.Arrays;
import java.util.Random;

public class HomeWork03 {
	public static void main(String[] args){
		int [] arr = {1,2,3,4,5};
		Random r = new Random();
		for (int j=0;j<arr.length;j++){
			int num = r.nextInt(5);
			int t = arr[j];
			arr[j] = arr[num];
			arr[num] = t;
		}
		System.out.println(Arrays.toString(arr));
	}
}
